package com.xique.park.bean.vo.client;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xique.common.core.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class OpenGateVo {

    @Excel(name = "通道名称",sort = 1)
    private String laneName;

    @Excel(name = "通道类型",readConverterExp = "1=入口,2=出口,3=内场入口,4=内场出口",sort = 2)
    private String laneType;

    private String userName;

    private Date createTime;

    private Date updateTime;

    @Excel(name = "开闸原因",sort = 4)
    private String remark;

    private String pic;

    private Long oprUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间",width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",sort = 5)
    private Date oprTime;

    private Long oprClientUser;

    @Excel(name = "操作人",sort = 6)
    private String updateBy;

    @Excel(name = "操作类型" ,readConverterExp="open=开闸,close=关闸",sort = 3)
    private String type;

}
